import type { App } from 'vue'
import { IframeSDKManager } from './iframeSDKManager'

export default {
  install(app: App, options?: any) {
    const iframeSDKManagerInstance = new IframeSDKManager()

    app.provide('iframeSDKManager', iframeSDKManagerInstance)
    app.config.globalProperties.$iframeSDKManager = iframeSDKManagerInstance
  }
}
